export function mergeProps(...items) {
  const result = {};

  items.forEach(item => {
    for (const key in item) {
      if (item.hasOwnProperty(key)) {
        result[key] = item[key];
      }
    }
  });

  return result;
}
